home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Other Stuff
/
Other Stuff ’97
/
PowerOS Development
/
booter
/
booter.h
< prev
next >
Wrap
Text File
|
1997-06-26
|
871b
|
29 lines
/*
boot.h
Application-Based Booter for PowerOS and OpenOS
copyright 1996-1997 by Ben Martz
all rights reserved world wide
ANY AND ALL MODIFICATIONS TO THIS SOURCE MUST CREDIT THE ORIGINAL
AUTHOR, BEN MARTZ (benmartz@ic.net), AND MUST BE GIVEN TO THE AUTHOR
FOR INTEGRATION INTO THE MAIN PowerOS SOURCE TREE. THANK YOU FOR YOUR
COOPERATION!
*/
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned long u_long;
void boot(void);
void UpdateStatus(unsigned char *string);
void EnableSuperCode(void);
/* this allows us to call the 68K EnableSuperCode CR */
typedef void (*EnableSuperCodeFunc)(void);
typedef UniversalProcPtr EnableSuperCodeUPP;
enum{
uppEnableSuperCodeInfo = kCStackBased
};
#define NewEnableSuperCode(userRoutine) \
(EnableSuperCodeUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), uppEnableSuperCodeInfo, kM68kISA)